<?php
/*
	监听电商客商品更新事件
*/
defined('BY_JYA') or exit('error');
$goodsid=$event['goodsid'];
$goods_price=pdo_getcolumn('jy_weishop_goods',array('id'=>$goodsid),'price');
//pdo_update('jy_weishop_goods',array('active_plugin'=>'jy_friends_shop'),array('id'=>$goodsid));
$this->model()->update_price(0,$goodsid,$goods_price);